Sequel.migration do
  change do
    create_table(:<%= table_name %>) do
      uuid         :id, default: Sequel.function(:uuid_generate_v4), primary_key: true
      timestamptz  :created_at, default: Sequel.function(:now), null: false
<% if paranoid %>
      timestamptz  :deleted_at
<% end %>
      timestamptz  :updated_at, default: Sequel.function(:now), null: false
    end
  end
end
